Fixed Javascript naming.