Change optional parameter usage to support browsers that do not support them yet.