bind ajax:beforsender in custom.js