Some nice javascript util scripts