Update HelperFunctions.js