Fixes $.inArray() Usage

See #1