Base plugin for docpad written in javascript