App namespace and onPageReady event to account for turbolinks and non-turbolinks loaded pages