Cannot add jscript to Infopath 2010 possible workaround

Is it possible to convert an Infopath 2007 template to infopath 2010? If yes, how do I do this? I cannot add jscript to Infopath 2010. It seems jscript is no longer supported. Any other possible workaround?
