Javascript Activatecontroller Is Called Twice When The Page Loads

Javascript Activatecontroller Is Called Twice When The Page Loads