nokx — 2014-02-17T22:49:06-05:00 — #1
pullo — 2014-02-18T01:27:53-05:00 — #2
Namespace it, so that it doesn't clash with third party scripts.
Don't forget though, that there are JS libraries for almost everything: http://www.jsdb.io/
So sometimes writing your own isn't the best way to go.