Fixed url in js post