Update HelperFunctions.js

add 'insertAfter' function