split up html/js tutorial