node server for inter communication between web page and device