#50: resolve 'Uncaught Reference'

Resolves #50.