fixed factorio.js