Fix a bug where javascript was returning a leading slash for urls, while ruby was not using a leading slash