added jshintrc. made tests a little better.