a small lightweight javascript library with nifty functions