modify script for use with chrome and dartium

@ussuri 
Yes, did not realize that! Will fix it.