notes, misc
add and port context.js