Playing around with JavaScript ideas.