Add support for firefox 25.

Also replaces a bunch of missing semicolons.
Land #2594, @jvennix-r7's firefox 25 js detection