remove console.log from preview js
change widget view