Fix js for cors requests