added gameplay haml page and adjusted js