Add javascript to submit form on checkbox click