Yes, Java and JavaScript are two completely unrelated technologies. Not confusing at all.