Update selectPreviewer.js