Tidy in custom.js