added jquery-turbolinks. fix so document.ready calls are refired when using turbolinks and changing page. puts2log was replaced with logger.debug2