Change js log snippet