Improve modularization
Put script on footer, removing window.onload callback
Update template title
Rename template.html to index.html
Improve npm scripts with better naming and docs
Move scripts to ./js folder
Rename files. Split var declarations
Fix indentation consistency
Minor improvement to scripts structure

Just separated the exports into a variable. This allows the variable
to be used later if needed
Refactor to implemente Facebook's Flux architecture