Fixed bug on transforming invocations while trivial parting as the callee
Added Error, Math and setTimeout into default external variables