button logic doesnt like reference to public. added link to js partial.