Removed a new segfault woot
Creating C++ wrapper for C->C++->JS callbacks