Avoid always global variables, use var
Avoid "use strict" globaly
Avoid JavaScript implicitly typecasts