Added CasperJS method wait
Fixed wrong condition for delete file with JS script
Added CasperJS method waitForSelector
Added CasperJS function waitForText
Added CasperJS function waitForUrl