jQuery version upgrade and small javascript fixes.