Added a JS function and minor fixes

* Allows the button to have an onclick that adds more ingredients