Refactoring for assetic to use yui