Added from http to https scenario, fixed issue with javascript read and write tests