Remove typos in documents

There were a few spots where ```javascript was used to close a code example. These have been removed.