Fix JavaScript:
 - eliminate multiple window.onload calls
 - add 'jquery-turbolinks' gem to properly trigger JavaScript on pages