add node js snippet