mod sync.js static to instance, add article save logic, add error pages, add autoRouting