Simplified the dragDrop and game js files.