moving new log to pure ajax