fixed the issues we were having w/ writing scripts in EH code
added a new helper for the public asset folder url. Closes GH-762