created adn implemented generic javascript include that can used for constructing api filters site-wide