Refactored the jsSelector so that it's a method of the By class.