uses defined jQuery variable instead of default jQuery