A handy toolbox of very basic JavaScript functions.