cleanup js code little bit
Merge branch 'master' of github.com:johancutych/ProjectWorkflow