changes to use jquery 10 min