Initial commit of javascript file.