Fix breaking JS on sample size calculator

The sample size calculator JS was breaking if query params were specified but one was missing.  This PR addresses extending the default object to account for missing query params.