Update javascript.snip