method/function/var autocomplete functionality for JavaScript /JS