Merge pull request #7 from matatk/gh-pages

Detect element nesting level; minor code cleanup
trying to get styling to work on mac
didnt work
fiddling
Update README.md
Update README.md
Update bower.json
fixed up crap code
Licence terms; cleanup

* Use correct licence
* Indentation consistency
* Use while loop for nesting level code
* Remove redundant params.json
* Update bower.json
* Clearer layout for example code (index.html)
* Remove redundant style definitions from template