Creating a jquery-dependant version