Javascript-disabled browser compatibility for discount codes