Add some structure and organization to javascript

I was super lazy when I first started working on Burndown and kept all my javascript in a single file. Yikes!

So I've set upon a quest to add some method to madness and properly structure the javascript into appropriate folders and files.