A JavaScript class that allows chaining methods for windows 8 app bar in winjs