Update main.js.erb

cached jquery form selectors