How To Create A Script In Javascript Code