Converted the docs.coffee file into JavaScript