test php in javascript