Added JS console logs