starting to write javascript completions