remove call to distance calc on load because it broke the JS in new samples