Game Scripting Code in Javascript for Unity3D Game Engine