Deleted bug in ajaxify and implemented issue #6