Fix 'ace is not defined' with hax

This is clearly not the _right_ thing, but it does get things working for now.