Update srcset-info.js

Now it works in more browsers (slice(-1))