Initial draft of migrating files to Javascript / Node