fixed range error at end of function expressions
Add bower_components to .gitignore
Fix range issue #2