adding stack
jshint everything
fix tests
preventing IE bug and fix some jshint