Get rid of errors related to JSHint

#Code quality tool JS Hint errors eliminated.
#An obstacle image with transparent background has been added to a
folder imgs. May be we can use it