A framework based on closure compiler