changed to be more in keeping with existing code.

e.g.
class: 'dashed'

as opposed to
class: 'class="dashed"'