Need to rewrite tests so removed for now
Added jshint and reorganised output file