Optimise selector $('#ca-edit').find('a') -> $('#ca-edit a')
Set up user agent

Use PhantomJS's default user agent (which is WebKit's base user
agent + PhantomJS) and add CasperJS and us to it.