var ready = function() {

}

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