added jpflag
fixed layout for nihonggo