use grunt and bower for js version management
fix tests