I would move your other 2 functions clear_input_fields() and remove_placeholder_text() out of this file too.