my little javascript util lib