better error handling of js editor / dynamic bundling