updated index with the php-to-nodejs change