apply orangeejs layout