Modify JavaScript