review of js but bugged