Overhauled nodeJS scripts, removed old files