added logging
no js alerts