move node scripts outside of server directory