Fixed voting submission and fixed javascript buttons