cleaned up jquery