renamed curpageurl

renamed curpageurl function to braftoncurpageurl to avoid conflicts
since that is a common function name