Two Interface Have Same Method In Javascript