Cool project. I've been collecting a list of automated tools for editing [1], which originated at Bell Labs with The Unix Writer's Workbench [2]. Rather than start from scratch, if you want to stick with JavaScript you might consider contributing to Titus Wormer's ReText [3]. Otherwise, we'd love for you to join us in building the Python-based Proselint [4].