added logic for 'clear' button; updated gruntfile

:+1: