fix js build & clear redundant console logs