A simple racer game using object oriented javascript