Double slash bugfix in urls reapplied. Was removed from previous commit. Remove console.log