Initial commit of the javascript core.