replaced accidental javascript with php