merged latest swf2lwf.rb (Fixed for embedded JS and Lua).