add comment js snippet