Fix javascript application html error