fixed issue with turbolinks and document loading for jquery