updated dependencies, rewrote build, improved code style, added bower support