Readded the compilejs foreach loop for customjs parsing
Fix on a small bug that made phpvars printed two times
Fix on page head phpvars and js utils