linting and moving xregexp back to .js
Merge branch 'master' of github.com:designcreateplay/NodeBB