Reorganized files for dual browser/node support