changed $.get() calls to $.ajax() calls

This pull request is for the issue that I opened. I have changed lines 75-78 and 88-92 in your code. Changed the ajax request to include dataType:"text" so autobars can fetch and parse templates even if server returns no content-type in response header.  Github shows a lot of changes. Probably because of different indentation setting in my editor.