javascript_function_special characters check