Works with new nan

Weak callback seems to work as intended with the latest fixes.