fix IE8 compatibility: don't use Array.forEach
bump version to 0.4.1