added upgrade step to upgrade portal javascript