Lights Out puzzle game written in jQuery