minor style changes
fix js links and add test for whitespace
add whitespace function; translate on whitespace keypress