<commit_before>if(Pebble.getActiveWatchInfo && Pebble.getActiveWatchInfo().platform === 'basalt') {
    // This is the Basalt platform
    Pebble.addEventListener('ready', function() {
      console.log('PebbleKit JS ready on Basalt!');
    });  
} else {
  // This is the Aplite platform
  Pebble.addEventListener('ready', function() {
    console.log('PebbleKit JS ready on Aplite!');
  });
}<commit_msg>Improve JS code<commit_after>Pebble.addEventListener('ready', function() {
  if(Pebble.getActiveWatchInfo && Pebble.getActiveWatchInfo().platform === 'basalt') {
    // This is the Basalt platform
    console.log('PebbleKit JS ready on Basalt!');
  } else {
    // This is the Aplite platform
    console.log('PebbleKit JS ready on Aplite!');
  }
});  

{'fraction_non_alphanumeric': 0.14624505928853754, 'fraction_numerical': 0.0, 'mean_word_length': 3.9673202614379086, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5865684', 'n_tokens_mistral': 247, 'n_tokens_neox': 244, 'n_words': 56}