changes to picker.js