A simple library of handy JavaScript and PHP functions