typo, remove unnecessary replace
simplify AMD definition
Merge branch 'vanilla' of https://github.com/rurjur/nprogress