It's simple application created with GWT projects. Highlighter iterate through all strings at page and when find string that could be LEGO set number than call cubiculus REST API. If string is valid LEGO set number and there description than API return LEGO set description and link to image. Java script just display given data when user went over highlighted string. See following example:
Or you can try it yourself at cubiculus API example page.