added a logger for javascript error messages
added quote around error message to show it if it is missing
Merge pull request #95 from zenoss/feature/ZEN-9505

added a logger for javascript error messages reviewed by jpeacock