refresh js script