Fix turbolinks issue for photobox