[tests] added additional condition
[grunt|bower] refactored to use grunt 0.4 and bower.json
[lib/jquery] type check return value from function
updated build
Release 2.2.2