Fix #34 - now encoding the hud ajax URI