node for firebase & generate html functions