Fix nil reference in BridgeSupport.lua

_curObj was being set to nil in line 136. By keeping a local reference, setting it to nil won't affect lazy loaded functions.
Merge pull request #4 from GranPC/patch-1

Fix nil reference in BridgeSupport.lua