migrate: Add typeof for undefined check, double -> single quotes
Merge pull request #1486 from mc10/migrate

migrate: Add typeof for undefined check, double -> single quotes