pref test for init-js mode added