Why Square does not work in HTTP website?