MODIFYING THE JAVASCRIPT