add translator and js mvc model,add protect the code