make it work-ish with rangy