got templates properly loading into the page. Still need to do some code cleanup, like bringing the templateName into the main oOptions object