Submission for reddit's web dev battle 1