log errors from javascript, php…