Removes whitespace and console log for debugging.