trying to debug page using jsconsole.com