Bug 909234 - JavaScript type error from lockscreen on b2g-desktop. r=timdream