Update helper.js

Added new methods.