refactored preview js, made destination and search terms visibility configurable in merge-flow.properties