Move javascript into <body>