Exposed AJ_MarshalSignal() to Javascript.