Some utility functions jQuery