javascript library for ydcollective.com