Update showdown.js

Fixed a couple typos and adding a better check for `fs`. When we are using showdown with webpack, `fs` is returned as an empty object, which passes the test erroneously.