use Interface class on interface.js github project