Modify snippens for javascript.