jquery changes to multiple functions

deletion of functions not needed