Linted the retrieve.js