updated usage to use "html" datatype for ajax call