fixed api.js
deleted old fild