Added Windows Phone (IE Mobile v>10) support, and loosened the Firefox Phone/Firefox for Android check since Fennec is no longer in the UA string.
make class names configureable
Minified version reflecting last 2 cherry-picks.