1. Added features to capture search events and newsletter sign up events
2. cleaned up Python code
3. Changed HTML