js fixes

add functionality on 'left' and 'right' btns, fix randomize and othor minor fixes