Hardcoded urls in javascript ? Very not nice. Temporary fix here to make these consistent 3