removing unnecessary jquery function