Move helper tests
Enable esnext mode in jsHint
Organize the view code into modules