JavaScript starter kit bug fix