Improve initial styles
Don't use document.write