moved all js to custom.js