transcode IFML script to javascript for html and wmlscript for wml