Added sanitization to the shell command arguments.

To avoid issues with the YUI file name and with the javascript file path, sanitization has been added to the command arguments.