Popover Commit

- Fixed javascript error for strings with quotes
- Implemented popover_sanitize method (modular method)