src/background: minor cleanup

* prefers dot notation when possible.
* removes whitespace
* semicolons