Change js callback