Created separate JS file, started process of location filter creation.