Pls check whether the js file is properly attached

 $form['#attached']['js'] = array(drupal_get_path('module','branch') . '/branch.js',drupal_get_path('module','civicrm') . '/js/rest.js',drupal_get_path('module','civicrm') . '/js/Contact.js',drupal_get_path('module','civicrm') . '/js/noconflict.js',drupal_get_path('module','civicrm') . '/js/Common.js');