Columns are now drawing correctly
Added comments to the javascript