updated to use go-local-subscriptions when applicable

cleaned up where some js vars are localized