add support for server-side

hi! thanks for `domready`. :)

in order to make it easier to share code on the client and server, it'd be nice if `domready` didn't error whenever called on the server.