Faster JS detection