made a quick solution for ajax loading pages