Mostly syntax and style fixes.

* Rubocop syntax fix.
* Updated devtools.