Added some simple jasmine testing for frontend JS