updated to use ajax and growl notification