view.js: url replace //* with /