Update resize_filter.class.js

Fixing code style and variables name