Change javascript calls