Try to stick to a single "var" keyword where it's easily done.
Avoid globalstrict.
Simplify DOM element creation.