Bug 923456 - The "newcap" rule must be explicitely set to "false" to disable it r=rik
fix jshint issues for sms

mostly globals and exported, but also some somewhat bigger changes in some parts
(esp wbmp).