Added hide/show fields to custom.js