modify script for use with chrome and dartium

@ussuri 
EOL at EOF