Added a jslinted javascript called densityScope.js with some helped meth...

...ods