A simple JavaScript framework