console loggin js to debug heroku