Commented the public JS code