Add Javascript(webcam live feed) to a single page

Hi!

How do I add javascript to a single page? I googled the issue but it seems that you have to be a Javascript expert do that. Surely it has to be more simple approach?

I tried to copy/paste the code from http://www.axis.com/us/en/support/technical-notes/live-video-on-medium-hit-rate-site into a wordpress page (text view)to get a live feed from a webcam but it just loads a blank page.

Update: It works if I paste the script directly in Widget(text) but for some reason it just shows a blank page if I paste the script on a single page.