adding a compiler input/output using js