Php Optional Function Parameters In Javascript The Xy