If E=hv and h is joules per second and v is waves per second, the end unit is J/s^2, but E can only be Joules, not s^2. How do I fix this?

h is in units of J*s and not J/s.

Scroll down to "value" in this url.
https://en.wikipedia.org/wiki/Planck_constant