moved js files and fixed player physics