Added basic racer functionality via javascript