Both inputs now merged into one bit of js.