Minifier fix

This is an update to the patch I suggested a few days ago

The changes now are:

1) less text update for "usrs" vs "users"
2) use path.resolve() for operations with destdir to handle absolute paths there
3) fix handling of prefixed package js files