Inlined small js file into index.html