Text this: Cross-site scripting detection based on an enhanced genetic algorithm