separated templates-related logic
libraries moved to separate directory, jsHint enabled for web sources