Remove depencies on helper-functions.js

Remove dependency to make extensions easier to install for now.