Core javascript functions. A collection of javascript functions utilizing only core javascript