missing semicolon
started working on restart
changes proposed by jshint