more clever loader, exports a factory to every node-like environment and...

... adds css

@denis-sokolov take a look please when you have a couple of minutes!