I have been using the javascript.api for text completion but i see that the file should be in alphabetical order  to work well