I've forgot about this question already, but I've fixed the problem. I can't remember exact steps, what I've done, but now i have a subdomain for static contents - js, css etc. it points to same directory as it would be normal domain. eg:
http://s.oisie.com/img/oisie.png
is same url as
http://www.oisie.com/img/oisie.png
In Cloudfront configuration I'm using s.oisie.com
domain and it works fine.
So the solution: create virtualhost for static domain, which will be used by cloudfront and use it in cloudfront config (at AWS console).
hope that helps! :)