sweepstakes js issues resolved