cucumber tests were failing; there was javascript outside of the <html> element. Also clean up logging.