added missing methods in prev commit in assest_api.js
Merge pull request #8 from ayshsandu/master

added missing methods in prev commit in assest_api.js
Merge branch 'master' of https://github.com/wso2-dev/product-es
fixed nameAttribute and option-text getting null when updating