Flash AS2 style JavaScript framework for Canvas