clean up .gitignore
convert to modern syntax (value and array literals, indexed array element access)