added linebars
added the javascript
added linebars with tests