Update userev.js

use proper length of path to slice
fixes: https://github.com/salsita/grunt-userev/issues/2