Add sublime files, move javascript

Adds sublime project and workspace files and moves javascript from
index.html to script.js