A variety of handy functions for webApp use