fix with coords in js. I think it will be last fix