Version without jQuery dependency.