Clean up main.js. Add a few wearscript components to index.html.