Fix theme source processor.
Add JSHint tests
Merge branch 'feature/jslint' into dev