Non jQuery version.