[Purchase | Credits | JS] Update purchases, credits adding conrtollers/js