Moved js import to head from footer