added js.native.signalTrap & js.native.trap
Basic signal trapping (single handler)