Code from csc309: Programming on the Web