converted from html2js to json2js
fixed e2e test