Small javascript util framework