Update main.js

white spaces in the author name would result in "%20" if not decoded before inserted.
Merge pull request #2 from qubicle/patch-1

Update main.js