Improve HTML and JavaScript defaults