repair theme mender.js

only array be change styles to {key:[{key:value},{key:value},....]}