Reverted code for generating all sentences

Reverted code for generating all sentence combinations on main.js.