Add AJAX support for inline templating

Add AJAX support for inline templating so view is parsed for each ajax
request