Initial attempt at switching to new interface
- this is a non-compiling commit since it relies on a couple of un-implemented handler functions from jsloc.cpp