Cleaned up javascript
New duplicate ingredient checks.