fix grappelli undefined in js