Fixed bug where w,a,s,d keys were not working correctly. Moved game loop to entagled.js