Fixed the javascript :D