Sarah the JavaScript version.