Removed all JS From HTML

Designated a js file for index scripting rather than embedding it in the
index.html