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

Simple fix for the issue described in https://github.com/mikekelly/hal-browser/issues/43