DRYd up js
Added variable for max sentences
JS to hide rules
Changed the slices countdown
JS Always hiding rules
Fixed test for slices