It is good to add jsLint or other linting tools by default to service studio to produce high quality javascript code. Also there should be a provision to block the "1 Click Publish" if the linting errors are not cleared