pull out TogetherJS init into its own function
fixed indentation