Fixed jshint errors and code style consistency
1.0.2