js extends practice