-add js prototype