break out js/gsp for config and deploy functions