Minor ES6 improvements

Change-Id: Ibf956915d1b7769dc5cc22a870f4484f492da723
diff --git a/dev/js/src/hint/foundries.js b/dev/js/src/hint/foundries.js
index f37cb7d..256ee76 100644
--- a/dev/js/src/hint/foundries.js
+++ b/dev/js/src/hint/foundries.js
@@ -16,7 +16,8 @@
     if (!anno)
       return;
 
-    if (value.indexOf(':') < 0) {
+    // if (value.indexOf(':') < 0) {
+    if (!value.includes(':')) {
       value += ' ';
 
       // Iterate over all annotations and add the descriptions