[Bug 1037905] Support more FxOS version.

This adds more versions to our FxOS detection, and also fixes the bug that caused JS to error when the version was unknown.

Small r?
I just indented these lines and added the if statement wrapping it.