Angular Settings Demographic page

Also update .jshintrc and cleanup warnings
These two variables/constants exist in pollForAssignments too. Can they be combined? One of them is different -- don't know if that's intentional.