relaxed isClientScript regex, fixed #1198
Merge branch 'master' of github.com:designcreateplay/NodeBB