clean up index.html and try some fixes for convert.js outside of the local page restrictions