add jshintrc jsbeautifyrc
bug fix for binding to $index, index was always 0 unless bind-index-offset was defined