JavaScript codes.