Adding ability to resolve a bug.

Fixing some javascript errors for now.