I think http://www.virtuallyghetto.com/2012/02/how-to-access-vcloud-director-remote.html is for the VMRC (not html5).
maybe between that and http://www.virtuallyghetto.com/2013/09/how-to-generate-pre-authenticated-html5.html you can get something sorted.
note that our API forums is different from this one, and can be found here: Forums - VMware Developer Center - it's divided by Language (SDK type), so just make sure to post in the correct location there.