Effective JavaScript codes.