JavaScript view fixes (disabled buttons no longer clickable)