added some comments to japreview.js