Code below passed through JSLint causes an error:
Problem at line 8 character 9: Missing \'new\'. ResizeGrid();
Problem at line 8 character 9: Missing \'new\'.
ResizeGrid();
How to fix?
You should name functions with a lower case initial letter, unless they are intended as constructors. If they are intended as constructors, you should be calling them with new.
new