JavaScript functions that should already exist...