lots of code cleanup
 moved all code for generating route, distance, and elevation data to separate script that only gets included when needed
 moved most custom page variables into a parent data variable and jsonify it on the post layout