adding README.md, start of bower support, minor code update