Only formatting and comments changes
Added spinner
added isAjax variable in template
Better image transition. Ajaxification now looks good.