Set JavaScript version to 1.8 in js2-mode.

This is necessary for working on Firefox code.