Atlassian Interview Question

JavaScript functions, validation, HTML security