var init = function() {
  countChars(500, $('#submission_description'));
  countChars(500, $('#submission_goals'));
  countChars(255, $('#submission_problems'));
  menuCollapse($('#btn-menu'));
}

$(document).ready(init);

var init = function() {
  countChars(500, $('#submission_description'));
  countChars(500, $('#submission_goals'));
  countChars(255, $('#submission_problems'));
  menuCollapse($('#btn-menu'));
}

$(document).on('ready page:load', init);

Fix loading js after turbolinks load
Fix loading js after turbolinks load
