move plv8x-sql from file into a exported function
use onejs 1.8.x