Only include scripts once
Merge JS implementations
Somehow lost req
Fix redirection on newer iOS