added jscs config and linted
syntax updates and other inconsistencies
Merge pull request #46 from jedireza/jscs-lint

More code style consistency