added dynamic runtime errors with source and line numbers to property and function calls that are null or undefined