Added Jasmine stand alone and started js rewrite