A Javascript util lib