Separate names with a comma.
Все сильно проще: <script type="text/javascript"> var yaParams = {ip: "<? echo $_SERVER['REMOTE_ADDR']; ?>"};...