commented https javascript code