ported jquery methods into this library, hiding loading and setting the lock class