build jquery properly