TRY echo '<script> cleartext(); </script>'; at bottom of page before html body close..
echo '<script> cleartext(); </script>';