phantomas.js: code linting