Moved JS out of HTML

Takes out Javascript from HTML. Starting to break down JS into byte sized functions to make testing fun.

Added small test.mustache as an example. But thinking of taking it out and hot loading main.test.js instead.

Cheers!