last of this line
fully working
solved jshint