made jsGenex.js for edX communication