window.applicationCache instead of applicationCache alone