Fixes on proposals

* lib folder
* .jshintrc
* config