Updated to use jquery local, minor typo