added clean CasperJS function with arguments for username and pword