Update Helpers.js

JsFiddle: link to SO question