Bidi utilities for JavaScript/AMD/Dojo Applications