added jquery
fix the jshint problem with global jQuery
added directive to get window size via jQuery