First commit. added js snippet