My compilation of commonly used functions in JavaScript