remove jquery promises