add js functionality for ad
Merge branch 'master' of https://github.com/devhood/erp-blpi