picker.js functions php