Refactor ajax methods into app helper, use it in mappings tab for class browser.