fixed api.jade to reflect api changes suggested by Ammon