Force http from JS