I am planning to implement class inherit interface using JavaScript. class is the perfect word as the name of the constructor.
class
class = function
It is there so that support can be added in future without breaking existing programs. Please take a look at the following post.
You can also look at
https://developer.mozilla.org/en/JavaScript/Reference/Reserved_Words