Use jquery-migrate
Whitelist :relation_ids

Fixes #321