Write on js console from php