escape colons in s3 js definitions