fixed js docs for non-js languages