Ugly fix to make Lawnchair work in a browser and a chrome app