A collection of different javascript function implementations