Remove API request from VIM plugin and use javascript instead