Collection of useful javascript utilities