fixed <script> element not being passed to the error() method when evaluation throws something
now always pass the source element to expr() in case an error occurs