updated to use go-local-subscriptions when applicable

cleaned up where some js vars are localized
Merge pull request #10 from wluo/freebird

updated to use go-local-subscriptions when applicable