Fixed minor javascript issues

Can now add a Campaign to a Cause again.