Loading Detector library into page