fix jshint errors
add priority filter. fix page reload after task update