R htmlwidget for spin.js