js cleanup
Merge pull request #166 from zenoss/feature/ZEN-11604

js cleanup