gateway_framework js files refactored to store in a different module