Cleanup whitespace
Added $goto to getPageLinkWrapper function