Fix js for when Admin class has multiple inlines