fix playground: correctly propagate JavaScript errors from compiled templates

Fixes #35