Code updated according to JSHInt complaints
Added Grunt support, changed package version