refactor coffeescript: 1. abstract var
refactor coffeescript: 2. support multi-items