Internal refactor apis for enchancement

-Removing Cancel( Object signal), it is obsolete code
-default javascript as scripting languange onCreation

Signed-off-by: sguan <sguan@actuate.com>