fixed https js errors for herouk