Little .js update to support newer jQuery