Adds missing jpg extension to util.js