fix for "__trim__ Function not available from Envjs.setCookie Method"

http://envjs.lighthouseapp.com/projects/21590/tickets/178-__trim__-function-not-available-from-envjssetcookie-method