update coffeescript code for remote filter