tries increase/decrease refactored into JS
decrease tries lower limit added
'top' checkbox refactored to JS