override init.js in the firefoxos platform for navigator fix, other bugfixes