Setting up jquery functions for repeatable processes

Fixing calculation when run distance is a standard race distance
Replacing double quotes with single quotes