styling fix-ups to solve JavaScript errors