Refactored amd-mode, depends now on external js-pkg and semver.
Ignore recovery files.