A modularized JavaScript framework