centralized all js in croquette.js