Added grunt task to jasmine fixed spec bug require->define