add x2js type definitions
append CONTRIBUTORS
Merge pull request #2266 from horiuchi/x2js

x2js type definition