Fixed minor js naming error