Fix scripts imported in index-dev.html

See https://github.com/scala-js/scala-js/issues/638