Check the script is successfully parsed before accessing it
Handle Array instrumentation calls