Used javascript to toggle bill submission method