Added piece of JS to detect native details support