Useful JavaScript classes written in jQuery