converted rendering to pure AJAX call
working with images loading inconsistently