[PR] Modify JS handling so that customizer window will close

* Removes the reassignment of `jQuery` to `$` in the customizer JS file, as that is not necessary.
* Wraps existing customizer JS in an anonymous function
* Removes the dependency on `customize-preview` and fixes an issue where the customizer window could not be closed.