JS : Add methods to object with .call