Bug 932318 - [Messages] jshint fixes from bug 901852 and bug 927783 r=rw...

...aldron