adding jshint.  adding transition end hook, and fleshing out examples more