moved assets to public
removed extraneous javascript
fixed path references
moved function distance to yo.js