added quojs lib and test code