cleaning up custom.js.  Minor syntax stuff