change buttons to links and move checkbox prototype to a variable