remove unnecessary jquery casting