use lodash, for IE support
using real qwery, not lite mobile version
use lodash's forEach
handle no class names
no need fo valueOf
fix scsslint
Merge pull request #5599 from guardian/ie-compatiable

Greater browser support