Avoid using element type in jQuery | CAST Appmarq