Fixed JavaScript Input error and PHP Mail error