fix build problems - 'abstract' is keyword in javascript