It seems the problem for users who have not even a clue about javascript. You should really read up on it. A good place to start would be: w3schools.com but really all you need to pass this level is your eyes. To use javascript as a password variable is too easy to crack; (on this javascript (1) ) it is really simple).
Remember it is javascript and therefore the answer must lay somewhere on the page in javascript. I’m trying to put this accross so not to include a spoiler. The answer is right in front of you. Just look a little harder. :)