added use utrict and fixed other jshint errors
added jquery as dependency
handled case when no polygon was added
saved rendered rectangle into variable that will be used to clear the canvas in the next rendering process
set canvas to window width/height and move image as a test