fixing https js