* Made extraction of asset properties from user input string a public method.
* in index.html sample, asset properties are fed to generateEmbed()