Fixed logs and controller javascripts