HTML5/D3: Add support for motive/*/lock #145

Other motive modifications to accommodate future devices.