updating with js screen shot