Machines separated out to different JS file