Modified to show element only after content has been loaded into the page.  Also allowed userParams to be interpreted as numbers.