added missing methods in prev commit in assest_api.js