a courseware javascript plugin