I'm not sure it is possible, I've tried something similar before.
Here's a pull request with the changes I made, anyway:
https://github.com/FlyingJester/TurboSphere/pull/10
At this point it gets to here:

(edit: sometimes it actually gets a bit further.)
Then receives a SIGABRT. Here's some of the logging output and a gdb backtrace:
[ttffontGL] DrawText Info: Binding string Do a barrel roll! to cache slot 0.
JS Result will be passed.
310
[ttffontGL] DrawText Info: Binding string Do a barrel roll! With TTF Fonts! to cache slot 1.
turbosphere(57676,0x7fff71b79180) malloc: *** error for object 0x1006528f0: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Program received signal SIGABRT, Aborted.
0x00007fff891f8212 in __pthread_kill ()
(gdb) backtrace
#0 0x00007fff891f8212 in __pthread_kill ()
#1 0x00007fff8aa2aaf4 in pthread_kill ()
#2 0x00007fff8aa6edce in abort ()
#3 0x00007fff8aa4a8a5 in szone_error ()
#4 0x00007fff8aa4bcc6 in tiny_free_list_remove_ptr ()
#5 0x00007fff8aa46092 in szone_realloc ()
#6 0x00007fff8aa4254a in malloc_zone_realloc ()
#7 0x00007fff8aa42cac in realloc ()
#8 0x00000001015ac1da in TS_BMPFont::wordWrapString (this=0x7fff5fbfe740, t=0x7fff5fbfe740 "??_?", w=1606412096, num=0x7fff5fbfe740) at bmpfont.cpp:377
#9 0x00000001015aeac3 in TS_BMPdrawTextBox (args=@0x7fff5fbfe774) at bmpfont.cpp:470
#10 0x0000000100041b73 in v8::internal::Builtin_HandleApiCall ()
#11 0x000010376540654e in ?? ()
#12 0x000010376542dd55 in ?? ()
#13 0x0000103765425367 in ?? ()
#14 0x0000103765412017 in ?? ()
#15 0x0000000100068e2d in v8::internal::Invoke ()
#16 0x000000010001fd73 in v8::Function::Call ()
#17 0x0000000100001be7 in SDL_main (argc=8563848, argv=0x100862000) at engine.cpp:146
#18 0x000000010000311a in -[SDLMain applicationDidFinishLaunching:] ()
#19 0x00007fff874e947a in _CFXNotificationPost ()
#20 0x00007fff87952846 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#21 0x00007fff861b760d in -[NSApplication _postDidFinishNotification] ()
#22 0x00007fff861b7346 in -[NSApplication _sendFinishLaunchingNotification] ()
#23 0x00007fff861b4532 in -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] ()
#24 0x00007fff861b412c in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
#25 0x00007fff8796c12b in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
#26 0x00007fff8796bf8d in _NSAppleEventManagerGenericHandler ()
#27 0x00007fff86d35b48 in aeDispatchAppleEvent ()
#28 0x00007fff86d359a9 in dispatchEventAndSendReply ()
#29 0x00007fff86d35869 in aeProcessAppleEvent ()
#30 0x00007fff82a0d8e9 in AEProcessAppleEvent ()
#31 0x00007fff861b0916 in _DPSNextEvent ()
#32 0x00007fff861afed2 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#33 0x00007fff861a7283 in -[NSApplication run] ()
#34 0x0000000100003725 in main ()