apply styles in js; initial work on shiny bindings