Trying to not reinvent the wheel

Wanted to use the post meta and the title, but couldn't figure out how
to pass the meta to title via filter, using the built-in title function
trying to get javascript back
Revert "working on the javascript for the popups"

This reverts commit 81f0ade8a19d15e7132744e22e670ece9981598d.
Revert "Revert "working on the javascript for the popups""

This reverts commit 8985ff20227c79867129f59f6dcecc892f55a740.