Fix JS syntax error when embedding an empty file.
Fix indentation
Merge pull request #1389 from rfk/embed-empty-files

Fix JS syntax error when embedding an empty file.