Made the app work with Chrome39 Add To Homescreen #issue5