Add JS snippet