Fix JS module snippet