Tiny JavaScript library to manage view states.