logging and release js