A set of useful javascript helpers by PROGNETDEV