Fix circular reference bug in seajs.log. fix #503