Start writing some javascript tests