Moved JS source to script file.