strip whitespace from checkScript answer