Cleanup for custom.js

- Cleaned up formatting
- Fixed bug in click event listener for generate button
Merge pull request #1 from aubricus/buzzwords_cleanup

Cleanup for custom.js