Fix to map js