new functional: import data from PHP in JS