moved js to external file, created wastes grid