Added Keyword class constructor to javascript
Mistake corrected