Fix packaging issues
Propagate JS exceptions into Perl