Implemented core JS features for the new redesign.