Cast variable to an int. jQuery fadeTo will convert any non recognized string (i.e. "fast", "slow") to default to 400ms. Drupal is saving our values as a string to the database, so any value entered is basically being ignored. This gets around the issue for now until a cleaner way is built.