Bug 996282 - Cleanup getParameter. - r=kamidphish