Added subscription auto suggest function for JavaScript.