Created javascript object for converting between old track coordinates and train completion percentage. Using Raphaël for drawing test track.