Update main.js

AutoComplete  load Tizen and other folder apis.