tranlated some js type definitions

tranlated some js type definitions