changed function to also have the 'simple' template

- changed function changeWords() to accept a variable which determines the template to use
- alerts ""You have not selected a template." when no radio button is clicked yet
- its very chunky, but that's because i couldn't figure out how to use separate .js files to switch between templates