JS-defined properties override CSS-defined

Fix #7