I'm posting again as a reply, since it's kind of separate from my parent comment.
What kind of environment does the code execute in? What standard javascript functions/libraries do we have access to?
What kind of environment does the code execute in? What standard javascript functions/libraries do we have access to?