Fix for https://github.com/mikekelly/hal-browser/issues/43
Merge pull request #45 from jelmerk/xss_bug

Fix for https://github.com/mikekelly/hal-browser/issues/43