[PR] Reduce unused code, refactor some JS behavior

* Removes unused code
* Use `add_theme_support()` inside the `after_setup_theme` action
* Refactors JS a bit and modifies the behavior so that the fixed CTA and navigation remain fixed in a nicer location