a backbone example for Javascript patterns class