removed omnicomplete lines
Added snippets for javascript.