make skeleton of how to set data from php to javascript using inline script