Since JavaScript is loosely coupled, providing a working autocomplete solution is not as easy as for statically typed languages like Java. Your best bets with Atom are the following packages:
- autocomplete-plus – this is now bundled with Atom as the default autocomplete provider
- ternjs – this looks pretty good, but requires some configuration.
I suggest you give these a try.