Php Javascript Html Parser Example