add auto closing brackets

I've been writing a lot of javascript lately and i like to close the
parethasis before I write the inner code. This saves me time.