If it is one of Peter's or David's scripts the version is found from the beginning of script when you open it with some text editor. They have written several versions with or without image fallback, with or without asciisvg ( + David's plugin versions in http://www.imathas.com/editordemo/demo.html )
If you don't have any renderer for latex you can try for example http://korpelainen.net/gmoodle/lib/editor/common/AMgoogle.js - it is using google chart api tex with mimetex syntax inside single dollars - if you want to render also latex inside double dollars you should have two settings selected:
var avoidinnerHTML = false;
var translateLaTeX = true;
which make function simpleLaTeXformatting to do simple LaTeX formatting.
Some examples are also visible in http://korpelainen.net/gmoodle
and some previous discussions: