Converted tests to js
Converted Gruntfile to js