top js snippet added