Update helpers.js

Added IE support for prototypal inheritance