Realtime logging and visualization with php, jquery and bootstrap