moved js execution
added page for hoisting