added comments
removed json/ajax call. no longer used.