switch up/down buttons
jshint fix