this is the javascript page