Added Maybe https function, made catalog page https compatible