DBC Challenge 294: JavaScript Racer 1 - Front-end