Think this was a bug. May be fixed in today's release of Cmd. I know that there is an issue with including scripts at times. The workaround is to include the script in the index.html.
It's...