Generate named url parameters in javascript, filter template, and base ModelView