Added log.js for pop up function frontend/php.