Fix embed code related issues.

1) Fix widget preview bug in the emebed code form.
2) Removed the placeholder referal id. Now the referal id will be empty by default