updated jquery; small js cleanup