Localhost dashboard written in PHP and Javascript