cross origin javascript capability leaks detection exploitation and defense