remove magic number from version output

Replaces harded-coded version number with value from `package.json`.