Converted jsx to js and updated web.js