auth modal, vote and subscribe js