Update javascript, add remove method, update url methods