changed " to ' and put missing ; in some files.

i also put 'use strict'; in some files