Finally fixed the JS index.html forwarding