Various javascript web utilities