Type Assertions for JQuery Parameters in some methods