Updated views and assetwatcher config in order to handle js scripts and dependencies
Added JS tests using mocha and  as the main entry point. You may run  in the project root in order to run the javascript tests :)
Tweaked  in order to be testable and to follow better practices
Added tests for  module