modify script for use with chrome and dartium

@ussuri 
I guess something happened to the indentation, accidental auto-formatting perhaps?