Translations:Manual:$wgAllowUserJs/13/en

So in order to prevent users from defining JavaScript, you need to disable $AllowUserCss as well.