I worked on this holiday to find out that my code does not work on HTTPS. My LOCALDEV is HTTP, and our production server is HTTPS.
For some reason, YUI is going to get JS when I have it locally.

I have this on the server ...........

And finally, my code:
YUI().use('autocomplete', 'autocomplete-filters', 'autocomplete-highlighters', function (Y) { var notes = [ "Dr Follow Up Complete Notes", "Fax Document Notes", "Event Notes", "Email Information Notes", "Corresponding Document Notes", "Return Call Notes", "Admit Notes", "Discharge Notes", "Other Notes", "Excellent Resource Notes", "Good Resource Notes", "Neutral Resource Notes", "Poor Resource Notes", "Unacceptable Resource Notes", ]; var inputNode = Y.one('#name'); inputNode.plug(Y.Plugin.AutoComplete, { resultFilters : 'phraseMatch', resultHighlighter: 'phraseMatch', source : notes, minQueryLength : 0 }); inputNode.ac.get('boundingBox').setStyle('zIndex', 50); inputNode.on('focus', function () { inputNode.ac.sendRequest(''); })
==================================================== ==================================
THIS AFTER ADDITION: base: 'include / javascript / yui3 / build'

I do not have this directory in my assembly.
source share