Refactoring and renaming resPop.js to resources.js: creating a module & adding to namespace, some syntax fixes all over the place.
resources.js now linked in index.html.
Merge branch 'population' of github.com:robten/nanities into population