avoid undefined JS errors
--whitespace cleanup--