Set omnifunc javascript