Rough draft of JavaScript