add an example of php outputs to javscript

Please enter the commit message for your changes. Lines starting