moved from serving with php to serving with node