Revert "Revert added semicolons to effects.js. Add .gitignore. Cleanup trailing spaces and newlines at end of files."

This reverts commit 4dcb6ac5e16e1e0a6e26278d8eceea8f7ad4a323.