Automated sprocket generation for JS script testing in jasmine