before starting version with AJAX
files rearranged, ajax is loaded
adding ajax:
added preloaded