Reorganize application.js file
Use jQuery's correct method for checkboxes

prop, not attr