UPdated to use mox to generate javascript documentation