Fixed labs "Test script errors" for the Element tests
Fixed multiple callback triggers when parse errors are encountered (fixes the other "Test script errors")