extracted javascript helpers to separate file in support directory
refactor configuration filtering. rename configuration options