update jquery and clean code line spacing