Update resize_filter.class.js

lower nesting level by one