Replaced JS injection with an xhr request, which is easier and seems to work better
Updated readme