minor jshinting
Merge branch 'master' of github.com:designcreateplay/NodeBB
fixed #1222
closes #1422
closes #1448
closes #1446
closes #1418
removed duplication in uploads