Collection of most common small functions used in javascript.