separated browser and node app